package designpatterns.bridge;

import org.junit.Test;

/**
 * @author LiDong
 * @version 1.0.0
 * @createTime 2022/2/13 9:31
 */
public class AppTest {

    @Test
    public void test() {
        Shape redCircle = new Circle(new RedCircle());
        Shape greenCircle = new Circle(new GreenCircle());

        redCircle.draw();
        greenCircle.draw();
    }

}
